const app = {
  state: {
    user: {

    },
    branchList: [],
    selectedBranchId: ''
  },
  mutation: {
    setUser(state, user) {
      state.user = user
    },
    setBranchList(state, branchList) {
      state.branchList = branchList
    },
    setSelectedBranchId(state, selectedBranchId) {
      console.log('emit..')
      state.selectedBranchId = selectedBranchId
    }
  }
}

export default app